package com.ljt.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by wb-ljt251780 on 2017/7/20.
 */
@Controller
@RequestMapping("admin")
public class HomeController {
    @RequestMapping
    public String index(ModelMap model){
        model.addAttribute("allSeedStarters","首页");
        return "admin/index";
    }
    @RequestMapping("main")
    public String main(){
        return "admin/main";
    }
}
